package com.atguigu.classroom.exception;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@ApiModel("自定义异常类")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ClassroomException extends RuntimeException{
    private Integer code;
    private String msg;
}

